﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Kiosk
{
    public partial class FooterBar : UserControl
    {
        public FooterBar()
        {
            InitializeComponent();
        }

        public event EventHandler AnaClick;
        public event EventHandler SearchClick;
        public event EventHandler ContactClick;
        public event EventHandler SourceClick;

        private void buttonAna_Click(object sender, EventArgs e)
        {
            if (AnaClick != null)
                AnaClick(sender, e);
        }

        private void buttonSearch_Click(object sender, EventArgs e)
        {
            if (SearchClick != null)
                SearchClick(sender, e);
        }

        private void buttonContact_Click(object sender, EventArgs e)
        {
            if (ContactClick != null)
                ContactClick(sender, e);
        }

        private void buttonSource_Click(object sender, EventArgs e)
        {
            if (SourceClick != null)
                SourceClick(sender, e);
        }
    }
}
